package com.example.yls.cnbetaapp.entity;

public class MessageEntity {
        private  Integer mid;
        //标题
        private String title;
        //标题url
        private String titleUrl;
        //内容简介
        private String intro;
        //发布时间
        private String issureTime;
        //阅读次数
        private String readingTimes;
        //评论次数
        private String commentCount;
        //图片地址
        private String imageUrl;
        //类型标题
        private String type;
        //类型url
        private String  typeUrl;
        //类型值
        private Integer typeValue;

    public MessageEntity(){}
    public MessageEntity(String title,String intro,String imageUrl){
        this.title = title;
        this.intro = intro;
        this.imageUrl = imageUrl;
    }
        public MessageEntity(String title, String titleUrl, String intro, String issureTime, String readingTimes, String commentCount, String imageUrl,
                             String type, String typeUrl, int typeValue){
            this.title = title;
            this.titleUrl = titleUrl;
            this.intro = intro;
            this.issureTime = issureTime;
            this.readingTimes = readingTimes;
            this.commentCount = commentCount;
            this.imageUrl = imageUrl;
            this.type = type;
            this.typeUrl = typeUrl;
            this.typeValue = typeValue;
        }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getTypeValue() {
            return typeValue;
        }

        public void setTypeValue(Integer typeValue) {
            this.typeValue = typeValue;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTitleUrl() {
            return titleUrl;
        }

        public void setTitleUrl(String titleUrl) {
            this.titleUrl = titleUrl;
        }

        public String getTypeUrl() {
            return typeUrl;
        }

        public void setTypeUrl(String typeUrl) {
            this.typeUrl = typeUrl;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public String getIssureTime() {
            return issureTime;
        }

        public void setIssureTime(String issureTime) {
            this.issureTime = issureTime;
        }

        public String getReadingTimes() {
            return readingTimes;
        }

        public void setReadingTimes(String readingTimes) {
            this.readingTimes = readingTimes;
        }

        public String getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(String commentCount) {
            this.commentCount = commentCount;
        }
}
